require "dior/version"

module Dior
  autoload :Builder,       'dior/builder'
  autoload :Component,     'dior/component'
  autoload :Configuration, 'dior/configuration'
  autoload :Context,       'dior/context'
  autoload :Registry,      'dior/registry'
  autoload :Helpers,       'dior/helpers'

  def self.configure(&block)
    Configuration.new.instance_eval(&block)
  end
end
